﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Shopping.Master" Inherits="QianJin.Views.ShoppingList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_3">
      <tr>
        <td height="40" align="center"><%=GetString("sl_shoppingcart") %></td>
      </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="20">&nbsp;</td>
      </tr>
    </table>
    <table width="720" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
      <tr class="list_bg">
        <td width="270" height="28" align="center"><%=GetString("sl_prodname")%></td>
        <td width="93" align="center"><%=GetString("sl_prodprice")%></td>
        <td width="69" align="center"><%=GetString("sl_operation")%></td>
      </tr>
      <%foreach (var item in Model.User.ShoppingCart.ShoppingItems)
        { %>
 
      <tr>
        <td height="28" align="center" bgcolor="#FFFFFF"><%=item.Name%></td>
        <td align="center" bgcolor="#FFFFFF"><%= item.Price%></td>
        <td align="center" bgcolor="#FFFFFF">
        <a href="<%=GetRemoveFromShoppingCartUrl(item.id) %>"><img src="/content/del.jpg" alt="<%=GetString("sl_unadd")%>" width="14" height="14" border="0" /></a>
        </td>
      </tr>
      <%} %>
      <tr>
        <td height="28" colspan="6" bgcolor="#FFFFFF"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="51%" align="left"><strong><%=GetString("sl_ordertime")%></strong>&nbsp;<%=DateTime.Now.ToShortDateString() %></td>
            <td width="49%" align="right">&nbsp;</td>
          </tr>
        </table></td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_3">
      <tr>
        <td height="40" align="right">
        <%if (this.Model.User.ShoppingCart.ShoppingItems.Count > 0)
          { %>
        <form action="<%=this.Url.Action("ShowFillUserInfo", "Shopping")%>" method="get">
        <input type="submit" name="button" class="button" value="<%=GetString("sl_next")%>" /></form>
        <%} %>
        </td>
      </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
